]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Fix tray barrier never getting destroyed
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 18 Feb 2013 09:45:06 +0000 (04:45 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 18 Feb 2013 18:25:12 +0000 (13:25 -0500)
Due to a typo, we accidentally set trayPressure to null,
making the next branch always fail.

https://bugzilla.gnome.org/show_bug.cgi?id=694070

js/ui/layout.js

index d855ade6b52b4363c56325326e9ed837bc6bf26d..0e69dfc215ae8d4e330c241bc729ebcdd32f9562 100644 (file)
@@ -379,7 +379,7 @@ const LayoutManager = new Lang.Class({
 
         if (this._trayBarrier) {
             this._trayBarrier.destroy();
-            this._trayPressure = null;
+            this._trayBarrier = null;
         }
 
         if (this._trayPressure) {